class Node {
    constructor(element) {
        this.value = element;
        this.previous = null;
        this.next = null;
    }
}
class LinkedList {
    constructor() {
        this.head = null;
    }
}